﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Commons.ReturnData
{
    public class SingleResult
    {
        public bool Succeeded { get; private set; }
        public bool Failed { get; private set; } 
        public SingleResult(bool b) 
        {
            if (b)
            {
                Succeeded= true;
            }
            else
            {
                Failed= true;
            }
        }
        public SingleResult() 
        {
            this.Succeeded= true;
        }
    }
}
